let g:airline_skip_empty_sections = 1
let g:airline#extensions#tabline#enabled = 1
"let g:airline#extensions#tmuxline#enabled = 1
let g:Powerline_sybols = 'unicode'
let g:airline#extensions#tabline#enabled = 1
"let g:airline#extensions#tabline#buffer_idx_mode = 1
"let g:airline#extensions#tabline#buffer_idx_format = {
        "\ '0': '0 ',
        "\ '1': '1 ',
        "\ '2': '2 ',
        "\ '3': '3 ',
        "\ '4': '4 ',
        "\ '5': '5 ',
        "\ '6': '6 ',
        "\ '7': '7 ',
        "\ '8': '8 ',
        "\ '9': '9 '
"        \}
""let g:airline#extensions#tabline#buffer_idx_mode = 2
"
"
let g:airline#extensions#tabline#fnamemod = ':t'
let g:airline#extensions#tabline#fnamecollapse = 1
let g:airline#extensions#tabline#fnametruncate = 0
let g:airline_left_sep = '▶'
let g:airline_right_sep = '◀'
let g:airline_symbols.crypt = '🔒'
let g:airline_symbols.linenr = '¶'
let g:airline_symbols.branch = '⎇'
let g:airline_symbols.paste = '∥'
let g:airline_symbols.notexists = '∄'
let g:airline_symbols.whitespace = 'Ξ'

" powerline symbols
if get(g:, 'airline_powerline_fonts', 0)
  let g:airline_left_sep = ''
  let g:airline_left_alt_sep = ''
  let g:airline_right_sep = ''
  let g:airline_right_alt_sep = ''
  let g:airline_symbols.branch = ''
  let g:airline_symbols.readonly = ''
  let g:airline_symbols.linenr = ''
  let g:airline_symbols.maxlinenr= ''
endif
let g:airline#extensions#tabline#show_tab_nr = 1
let g:airline#extensions#tabline#tab_nr_type= 2
let g:airline#extensions#tabline#show_tab_type = 1
let g:airline#extensions#tabline#buffers_label = 'BUFFERS'
let g:airline#extensions#tabline#tabs_label = 'TABS'
if get(g:, 'spacevim_enable_os_fileformat_icon', 0)
  let s:sys = SpaceVim#api#import('system')
  let g:airline_section_y = " %{&fenc . ' ' . SpaceVim#api#import('system').fileformat()} "
endif

if exists('g:uselsp')
  let g:airline#extensions#nvimlsp#enabled = 1
endif


